home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 August: Tool Chest / Dev.CD Aug 95 TC / Dev.CD Aug 95 TC.toast / Tool Chest / Interfaces / UniversalInterfaces 2.1B1 / AIncludes / TerminalTools.a < prev    next >
Encoding:
Text File  |  1995-04-18  |  3.4 KB  |  123 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        TerminalTools.a
  3. ;
  4. ;    Contains:    Communications Toolbox Terminal tools Interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Package:    Universal Interfaces 2.1ß1 in “MPW Prerelease” on ETO #17
  8. ;
  9. ;    Copyright:    © 1984-1995 by Apple Computer, Inc.
  10. ;                All rights reserved.
  11. ;
  12. ;    Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13. ;                stack.  Include the file and version information (from above)
  14. ;                in the problem description and send to:
  15. ;                    Internet:    apple.bugs@applelink.apple.com
  16. ;                    AppleLink:    APPLE.BUGS
  17. ;
  18. ;
  19.  
  20.     IF &TYPE('__TERMINALTOOLS__') = 'UNDEFINED' THEN
  21. __TERMINALTOOLS__ SET 1
  22.  
  23.  
  24.     IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
  25.     include 'Dialogs.a'
  26.     ENDIF
  27. ;        include 'Errors.a'                                            ;
  28. ;            include 'ConditionalMacros.a'                            ;
  29. ;        include 'Memory.a'                                            ;
  30. ;            include 'Types.a'                                        ;
  31. ;            include 'MixedMode.a'                                    ;
  32. ;        include 'Windows.a'                                        ;
  33. ;            include 'Quickdraw.a'                                    ;
  34. ;                include 'QuickdrawText.a'                            ;
  35. ;            include 'Events.a'                                        ;
  36. ;                include 'OSUtils.a'                                ;
  37. ;            include 'Controls.a'                                    ;
  38. ;                include 'Menus.a'                                    ;
  39. ;        include 'TextEdit.a'                                        ;
  40.  
  41.     IF &TYPE('__TERMINALS__') = 'UNDEFINED' THEN
  42.     include 'Terminals.a'
  43.     ENDIF
  44. ;        include 'CTBUtilities.a'                                    ;
  45. ;            include 'StandardFile.a'                                ;
  46. ;                include 'Files.a'                                    ;
  47. ;            include 'AppleTalk.a'                                    ;
  48. ;        include 'Connections.a'                                    ;
  49.  
  50. tdefType                        EQU        'tdef'
  51. tvalType                        EQU        'tval'
  52. tsetType                        EQU        'tset'
  53. tlocType                        EQU        'tloc'
  54. tscrType                        EQU        'tscr'
  55. tbndType                        EQU        'tbnd'
  56. tverType                        EQU        'vers'
  57. ; messages 
  58. tmInitMsg                        EQU        0
  59. tmDisposeMsg                    EQU        1
  60. tmSuspendMsg                    EQU        2
  61. tmResumeMsg                        EQU        3
  62. tmMenuMsg                        EQU        4
  63. tmEventMsg                        EQU        5
  64. tmActivateMsg                    EQU        6
  65. tmDeactivateMsg                    EQU        7
  66. tmGetErrorStringMsg                EQU        8
  67. tmIdleMsg                        EQU        50
  68. tmResetMsg                        EQU        51
  69. tmKeyMsg                        EQU        100
  70. tmStreamMsg                        EQU        101
  71. tmResizeMsg                        EQU        102
  72. tmUpdateMsg                        EQU        103
  73. tmClickMsg                        EQU        104
  74. tmGetSelectionMsg                EQU        105
  75. tmSetSelectionMsg                EQU        106
  76. tmScrollMsg                        EQU        107
  77. tmClearMsg                        EQU        108
  78.  
  79. tmGetLineMsg                    EQU        109
  80. tmPaintMsg                        EQU        110
  81. tmCursorMsg                        EQU        111
  82. tmGetEnvironsMsg                EQU        112
  83. tmDoTermKeyMsg                    EQU        113
  84. tmCountTermKeysMsg                EQU        114
  85. tmGetIndTermKeyMsg                EQU        115
  86. ; messages for validate DefProc    
  87. tmValidateMsg                    EQU        0
  88. tmDefaultMsg                    EQU        1
  89. ; messages for Setup DefProc    
  90. tmSpreflightMsg                    EQU        0
  91. tmSsetupMsg                        EQU        1
  92. tmSitemMsg                        EQU        2
  93. tmSfilterMsg                    EQU        3
  94. tmScleanupMsg                    EQU        4
  95. ; messages for scripting defProc    
  96. tmMgetMsg                        EQU        0
  97. tmMsetMsg                        EQU        1
  98. ; messages for localization defProc  
  99. tmL2English                        EQU        0
  100. tmL2Intl                        EQU        1
  101.  
  102. ; typedef struct TMSearchBlock  TMSearchBlock, *TMSearchBlockPtr
  103. TMSearchBlock             RECORD    0
  104. theString                 ds.l   1        ; offset: $0 (0)
  105. where                     ds     Rect    ; offset: $4 (4)
  106. searchType                 ds.w   1        ; offset: $C (12)
  107. callBack                 ds.l   1        ; offset: $E (14)
  108. refnum                     ds.w   1        ; offset: $12 (18)
  109. next                     ds.l   1        ; offset: $14 (20)
  110. sizeof                     EQU *            ; size:   $18 (24)
  111.                         ENDR
  112.  
  113. ; typedef struct TMSetupStruct  TMSetupStruct, *TMSetupPtr
  114. TMSetupStruct             RECORD    0
  115. theDialog                 ds.l   1        ; offset: $0 (0)
  116. count                     ds.w   1        ; offset: $4 (4)
  117. theConfig                 ds.l   1        ; offset: $6 (6)
  118. procID                     ds.w   1        ; offset: $A (10)        ; procID of the tool 
  119. sizeof                     EQU *            ; size:   $C (12)
  120.                         ENDR
  121.  
  122.     ENDIF ; __TERMINALTOOLS__
  123.